<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateSysInfoTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('sys_info', function (Blueprint $table) {
            $table->increments('id')->comment('字段id');
            $table->string('content')->nullable()->comment('需修改的内容');
            $table->string('url')->nullable()->comment('跳转链接');
            $table->string('type',64)->nullable()->comment('type');
            $table->softDeletes();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
